package com.yougou.data.repository;

import com.yougou.data.api.RetrofitClient;
import com.yougou.data.model.response.GoodsDetailResponse;

import io.reactivex.rxjava3.core.Observable;

public class ProductRepository {
    
    
    public Observable<GoodsDetailResponse> getGoodsDetail(int goodsId) {
        return RetrofitClient.createService(com.yougou.data.api.ApiService.class)
                .getGoodsDetail(goodsId);
    }
}

